<div class="wrapper-bz-page">
    <div class="wrapper-bz-body" >
        <div class="column-block block-left" style="width:850px;">
            <div class="column-title">活动</div>
            <div class="column-content">
                <div class="column-datagrid no-filter">
                    <table id="table_clockin_activity_in_m68" style="width:100%;height:100%"></table>
                </div>
            </div>
        </div>
        <div class="column-block block-right" style="left:860px;">
            <div class="column-title">活动报名用户</div>
            <div class="column-content">
                <div class="column-datagrid no-filter">
                    <table id="table_clockin_activity_user_in_m68" style="width:100%;height:100%"></table>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="dialog_add_clockin_activity_in_m68"></div>
<div id="dialog_edit_clockin_activity_in_m68"></div>
<div id="dialog_join_clockin_activity_in_m68"></div>

<script>
    $(function () {
        var listTable = [
            {subject_keyword: "clockin_activity_in_m68", datagrid_code: "clockin_activity_m68"},
            {subject_keyword: "clockin_activity_user_in_m68", datagrid_code: "clockin_activity_user_m68"},
        ];
        var dialogId_1 = "dialog_add_clockin_activity_in_m68";
        var dialogId_2 = "dialog_edit_clockin_activity_in_m68";
        var dialogId_3 = "dialog_join_clockin_activity_in_m68";
        var datagridConfigList = $(document).getRelatedDatagridConfig(listTable, 'clockin_activity_id');
        clearDialogHtml([dialogId_1, dialogId_2, dialogId_3]);

        datagridConfigList[0].queryParams = {content_type: 1};
        $('#table_' + listTable[0].subject_keyword).datagrid(datagridConfigList[0]);
    });
</script>
